package com.ibeeking.found.msg.service.common.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @ClassName MpFansDo
 * @Description
 * @Author ibeeking
 * @Date 2020-12-30 14:12
 **/
@Data
@TableName("wx_mp_menu")
public class WxMpMenuDO implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 公众号id
     */
    @TableField(value = "app_id")
    private String appId;

    @TableField(value = "parent_id")
    private Long parentId;

    @TableField("name")
    private String name;

    @TableField("sort")
    private Integer sort;

    @TableField("menu_type")
    private String menuType;

    @TableField("source_type")
    private Integer sourceType;

    @TableField("union_key")
    private String unionKey;

    @TableField("route")
    private String route;

    @TableField("h5")
    private String h5;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("create_by")
    private Long createBy;
}
